package com.quick.controller.user;

import com.alibaba.dubbo.config.annotation.Reference;
import com.quick.common.result.ResultResponse;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {
    @Reference
    UserService userService;
    @RequestMapping("list")
    public ResultResponse list(){

        return userService.list();
    }
}
